#[macro_use]
extern crate lazy_static;

#[macro_use]
mod constant;
#[macro_use]
mod events;
mod tetris;
mod app;
mod gfx;
mod main_menu;
mod main_game;

use std::fmt;
use app::*;
use main_menu::*;

fn main() {
    spwan("俄罗斯方块", |app| {
        Box::new(MainMenuView::new(app))
    });
}
